import { createRouter, createWebHashHistory } from 'vue-router'
//import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHashHistory(''),
  routes: [
    {
      path: '/',
      name: '默认页',
      component: () => import('../components/Root.vue')
    },
    {
      path: '/llmConfigTp',
      name: '大模型服务配置',
      component: () => import('../components/LlmConfigTp.vue')
    },
    {
      path: '/polish',
      name: '润色',
      component: () => import('../components/Polish.vue')
    },
    {
      path: '/continuedwriting',
      name: '续写',
      component: () => import('../components/ContinuedWriting.vue')
    }
  ]
})

export default router
